import request from '@/utils/request'
import qs from 'qs'
/**
 * 能耗分析-不同行业单位产值综合能耗分析（吨标准煤/万元）
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const getIndustry = (data) => {
  return request({
    url: '/admin/ny/NyEnergy/getIndustry',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 能耗分析-能源消耗总量（万吨标准煤）时间变化分析
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const getByquarter = (data) => {
  return request({
    url: '/admin/ny/NyEnergy/getByquarter',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 能耗分析-用能结构占比分析
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const getEnergyUsage = (data) => {
  return request({
    url: '/admin/ny/NyEnergy/getEnergyUsage',
    method: 'POST',
    data: qs.stringify(data)
  })
}
